package wjh.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import wjh.mapper.ZlyDoctorMapper;
import wjh.pojo.Doctor;

@Service
public class ZlyDoctorServiceImpl implements ZlyDoctorService {
    @Autowired
    private ZlyDoctorMapper zlyDoctorMapper;

    @Override
    public Doctor findById(int id) {
        return zlyDoctorMapper.findById(id);
    }

    @Override
    public Doctor findByDept(String dept) {
        return zlyDoctorMapper.findByDept(dept);
    }
}
